package com.winit.feature.model;

import org.springframework.cassandra.core.PrimaryKeyType;
import org.springframework.data.cassandra.mapping.PrimaryKeyClass;
import org.springframework.data.cassandra.mapping.PrimaryKeyColumn;

import java.io.Serializable;

@PrimaryKeyClass
public class FeatureReqId implements Serializable{
    @PrimaryKeyColumn(name = "feature_id", type = PrimaryKeyType.PARTITIONED)
//    @Column(value = "feature_id")
    private String featureId;
    @PrimaryKeyColumn( name = "req_id")
    private String reqId;

    public FeatureReqId(){

    }

    public FeatureReqId(String featureId, String reqId){
        this.featureId = featureId;
        this.reqId = reqId;
    }

    public String getFeatureId() {
        return featureId;
    }

    public void setFeatureId(String featureId) {
        this.featureId = featureId;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }
}
